﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001069 RID: 4201
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueTournReviveCostUpdateScNotify : IMessage<RogueTournReviveCostUpdateScNotify>, IMessage, IEquatable<RogueTournReviveCostUpdateScNotify>, IDeepCloneable<RogueTournReviveCostUpdateScNotify>, IBufferMessage
	{
		// Token: 0x170034FF RID: 13567
		// (get) Token: 0x0600BBA5 RID: 48037 RVA: 0x001F98B3 File Offset: 0x001F7AB3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueTournReviveCostUpdateScNotify> Parser
		{
			get
			{
				return RogueTournReviveCostUpdateScNotify._parser;
			}
		}

		// Token: 0x17003500 RID: 13568
		// (get) Token: 0x0600BBA6 RID: 48038 RVA: 0x001F98BA File Offset: 0x001F7ABA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueTournReviveCostUpdateScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003501 RID: 13569
		// (get) Token: 0x0600BBA7 RID: 48039 RVA: 0x001F98CC File Offset: 0x001F7ACC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueTournReviveCostUpdateScNotify.Descriptor;
			}
		}

		// Token: 0x0600BBA8 RID: 48040 RVA: 0x001F98D3 File Offset: 0x001F7AD3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournReviveCostUpdateScNotify()
		{
		}

		// Token: 0x0600BBA9 RID: 48041 RVA: 0x001F98DB File Offset: 0x001F7ADB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournReviveCostUpdateScNotify(RogueTournReviveCostUpdateScNotify other) : this()
		{
			this.rogueReviveCost_ = ((other.rogueReviveCost_ != null) ? other.rogueReviveCost_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600BBAA RID: 48042 RVA: 0x001F9910 File Offset: 0x001F7B10
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournReviveCostUpdateScNotify Clone()
		{
			return new RogueTournReviveCostUpdateScNotify(this);
		}

		// Token: 0x17003502 RID: 13570
		// (get) Token: 0x0600BBAB RID: 48043 RVA: 0x001F9918 File Offset: 0x001F7B18
		// (set) Token: 0x0600BBAC RID: 48044 RVA: 0x001F9920 File Offset: 0x001F7B20
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ItemCostData RogueReviveCost
		{
			get
			{
				return this.rogueReviveCost_;
			}
			set
			{
				this.rogueReviveCost_ = value;
			}
		}

		// Token: 0x0600BBAD RID: 48045 RVA: 0x001F9929 File Offset: 0x001F7B29
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueTournReviveCostUpdateScNotify);
		}

		// Token: 0x0600BBAE RID: 48046 RVA: 0x001F9937 File Offset: 0x001F7B37
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueTournReviveCostUpdateScNotify other)
		{
			return other != null && (other == this || (object.Equals(this.RogueReviveCost, other.RogueReviveCost) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600BBAF RID: 48047 RVA: 0x001F996C File Offset: 0x001F7B6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.rogueReviveCost_ != null)
			{
				num ^= this.RogueReviveCost.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600BBB0 RID: 48048 RVA: 0x001F99A8 File Offset: 0x001F7BA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600BBB1 RID: 48049 RVA: 0x001F99B0 File Offset: 0x001F7BB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600BBB2 RID: 48050 RVA: 0x001F99B9 File Offset: 0x001F7BB9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.rogueReviveCost_ != null)
			{
				output.WriteRawTag(82);
				output.WriteMessage(this.RogueReviveCost);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600BBB3 RID: 48051 RVA: 0x001F99EC File Offset: 0x001F7BEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.rogueReviveCost_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueReviveCost);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600BBB4 RID: 48052 RVA: 0x001F9A2C File Offset: 0x001F7C2C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueTournReviveCostUpdateScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.rogueReviveCost_ != null)
			{
				if (this.rogueReviveCost_ == null)
				{
					this.RogueReviveCost = new ItemCostData();
				}
				this.RogueReviveCost.MergeFrom(other.RogueReviveCost);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600BBB5 RID: 48053 RVA: 0x001F9A80 File Offset: 0x001F7C80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600BBB6 RID: 48054 RVA: 0x001F9A8C File Offset: 0x001F7C8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 82U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.rogueReviveCost_ == null)
					{
						this.RogueReviveCost = new ItemCostData();
					}
					input.ReadMessage(this.RogueReviveCost);
				}
			}
		}

		// Token: 0x04004B87 RID: 19335
		private static readonly MessageParser<RogueTournReviveCostUpdateScNotify> _parser = new MessageParser<RogueTournReviveCostUpdateScNotify>(() => new RogueTournReviveCostUpdateScNotify());

		// Token: 0x04004B88 RID: 19336
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004B89 RID: 19337
		public const int RogueReviveCostFieldNumber = 10;

		// Token: 0x04004B8A RID: 19338
		private ItemCostData rogueReviveCost_;
	}
}
